home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / WINDOWS.TEC < prev    next >
Text File  |  1992-03-13  |  7KB  |  137 lines

  1. ID:WN Windows and Windows Applications
  2. Quarterdeck Technical Note #157
  3. by Stan Young
  4.  
  5. Note: This technote covers only Windows 2, Windows 386 and Windows Runtime 
  6. applications.  If you are interested in running Windows 3 with Quarterdeck 
  7. products, obtain our WIN3.TEC technote.
  8.  
  9.                             *** QEMM-386 4.2 ***
  10.  
  11. Using QEMM-386 4.2 with Microsoft Windows 2.1 and EXCEL 2.1 If you have 
  12. QEMM.SYS in your CONFIG.SYS file, Windows 2.1 will refuse to install itself.  
  13. We have not found a conflict, so you should try to overcome this restriction.  
  14. One way to do this is to edit your CONFIG.SYS file so that the line:
  15.  
  16. DEVICE=QEMM.SYS {with existing switches} says instead:
  17.  
  18. REM DEVICE=QEMM.SYS {existing switches} EXT=64
  19.  
  20. Install Windows normally and then edit the QEMM line of the CONFIG.SYS file to 
  21. remove the REM statement before QEMM.SYS.  If the Windows installation has 
  22. added a device called HIMEM.SYS to your CONFIG.SYS file, move the line that 
  23. specifies the HIMEM.SYS driver so that it loads after QEMM.SYS.  You SHOULD 
  24. NOT reboot the machine, so Windows install will see that you have expanded 
  25. memory.  It is enough that the REM statement is put before the QEMM line.  
  26. After you install Windows, be sure to remove the REM statement.
  27.  
  28. ------------------------
  29. QEMM-386 and Windows 386
  30.  
  31. Windows 386 and QEMM-386 are not compatible.  This is because Windows 386 does 
  32. its own memory management of the memory above 640K.  You may, however, run 
  33. QEMM-386 with Windows 286 or Windows Run-time programs (such as PageMaker) on 
  34. a 386 machine and Windows 286 can take full advantage of the memory provided 
  35. by QEMM.  Operation in this fashion provides expanded memory for programs 
  36. whether they are running in Windows or not, while providing full support for 
  37. Windows 286's desire for EMS 4.0 compatible memory.  The WIN86.COM program 
  38. provided with Windows 386 is a subset of Windows 286 and can be run with QEMM-
  39. 386.
  40.  
  41. ----------------------------------------------
  42. Using QEMM-386 4.2 with Microsoft Windows 2.03
  43.  
  44. Microsoft Windows 2.03 cannot tolerate more than 1 mappable area larger than 
  45. 48K, between 640K and 1MB.  Use the QEMM.COM program to see what areas are 
  46. available above A000.  If more than one area larger than 48K is "Mappable", 
  47. then you will need to use either the EXCLUDE or RAM parameter to keep QEMM 
  48. from reporting more than 1 area larger than 48K to Windows.  It's not 
  49. necessary to EXCLUDE or RAM all of the memory, just enough to make the 
  50. mappable memory sizes less than 48K.  If you don't do this, Windows will start 
  51. but will not run any programs.  
  52.  
  53.                             *** DESQview 2.2 ***
  54.  
  55. Running Windows 286 in DESQview:
  56.  
  57. First, you will want to set up Windows so that it does not implement the 
  58. HIMEM.SYS driver.  This is because the same memory area that is used by 
  59. Windows to obtain 60K of extra usable memory will be used by QEMM to give 60K 
  60. of extra memory for ALL windows, not just the Windows window, so it makes 
  61. sense to have QEMM manage this memory.  To bypass Window's use of the 
  62. HIMEM.SYS driver, you should install Windows as shown above and when it comes 
  63. to the section of the Windows install where it asks if you "want to use 
  64. extended memory for Windows", answer "No".  Windows will not install the 
  65. HIMEM.SYS driver.
  66.  
  67. Your CONFIG.SYS file would not require the "EXT=64" parameter as shown above, 
  68. since the memory for HIMEM.SYS need not be reserved.
  69.  
  70. It is also possible to simply remove the HIMEM.SYS driver from your CONFIG.SYS 
  71. driver without reinstalling Windows.  When started in this fashion, Windows 
  72. will always report an error message saying "Your memory configuration has 
  73. changed...", but you can simply hit escape to continue, with no further 
  74. problem.
  75.  
  76. In a sense, Windows and Windows applications run in DESQview windows just as 
  77. any other large graphics based applications do and their installation can be 
  78. approached from that standpoint. Only Windows 286 (not Windows 386) can be run 
  79. in DESQview, and it is important that Windows be operating in a display mode 
  80. that is supported by DESQview's video drivers and that you are able to open a 
  81. window with sufficient memory (approximately 450K), but those are the only 
  82. requirements.
  83.  
  84. Windows and many Windows applications are not shown as selections on the 
  85. DESQview Add a Program menu, but can be easily configured by adding the 
  86. "PageMaker" entry from Add a Program and then using Change a Program, 
  87. modifying the "Program Name", "Program" and "Directory" fields to be correct 
  88. for the specific application. All other settings should be correct.
  89.  
  90. Please also note that you should use the "Maximum Expanded Memory" field in 
  91. Change a Program to limit the amount of expanded memory the Windows 
  92. application can take, or it will take it all. This will cause unnecessary 
  93. swapping to disk, even on systems with large amounts of memory.  Judging the 
  94. amount to set as maximum depends on the size of the data you have, but you 
  95. should be able to determine this by running the program and loading your 
  96. largest data file and see how much it takes. 
  97.  
  98. ____________________________
  99.  
  100. Windows 2.1 Runtime
  101.  
  102. The runtime version of Windows 2.1 which comes with some Windows specific 
  103. applications searches the path for WIN.COM and if it finds it loads the full 
  104. copy of Windows.  This will be a problem when running QEMM or DESQview if the 
  105. WIN.COM it finds is Windows 386, for the reasons stated above.  If you have 
  106. this problem, rename the file WIN.COM to WIND.COM.  This will allow your 
  107. runtime programs to load properly.
  108.  
  109. _____________________________________
  110.  
  111. Hint for loading Windows applications
  112.  
  113. Windows applications which don't come with a Windows run-time normally have to 
  114. be run from the Windows MS-DOS executive.  This makes an extra step when 
  115. loading, taking time and creating extra overhead (for the Executive).  It 
  116. appears you can load faster, and preserve more memory for the application, by 
  117. using a little-known and perhaps undocumented loading method.  Windows 
  118. supports loading directly into an application without loading the MS DOS 
  119. Executive as follows:
  120.  
  121. WIN :C:\PROGRAM\progname.exe
  122.  
  123. assuming the application was program.exe and the directory was C:\PROGRAM.  
  124. The key seems to be that the parameter starts with a colon.  
  125.  
  126. This makes particular sense when loading the programs in DESQview windows, 
  127. because it allows the programs to load directly, just like other graphics 
  128. programs.  To load in this fashion in a DESQview window, the "Program" field 
  129. would be WIN.COM and the "Parameters" field would be :C:\PROGRAM\program.exe.
  130.  
  131.  
  132.   ************************************************************************
  133.   *This technical note may be copied and distributed freely as long as it*
  134.   *is distributed in its entirety and it is not distributed for profit.  *
  135.   *          Copyright (C) 1991 by Quarterdeck Office Systems            *
  136.   ************************ E N D   O F   F I L E *************************
  137.